package com.ruoyi.qywx.mapper;

import com.ruoyi.qywx.callback.txl.PartyEncrypt;
import com.ruoyi.qywx.entity.ContactEntity;
import com.ruoyi.qywx.getway.entity.QyContact;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

@Mapper
public interface SyncAppMapper {
    void deleteParty(@Param("partyId") Long partyId, @Param("teamId") Long teamId);

    void createParty(@Param("party") PartyEncrypt party, @Param("teamId") Long teamId);

    void updateParty(@Param("party") PartyEncrypt encrypt, Long teamId);

    void createParties(@Param("list") List<PartyEncrypt> party, @Param("teamId") Long teamId);

    void deletePartys(@Param("ids") Collection<Long> deptIds, @Param("teamId") Long teamId);
}
